package com.baicai.baicaiknowledgeai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户实体类
 * @author 白菜
 */
@Data
@TableName("user")
public class User {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;

    /**
     * 阿里云百炼知识库ID
     */
    private String knowledgeBaseId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
